
package com.wwy.monitor.service;

import com.wwy.monitor.common.PageResult;
import com.wwy.monitor.model.tddl.dto.MonitorConfigDTO;
import com.wwy.monitor.model.tddl.query.MonitorConfigQuery;

import java.util.List;

/**
 * @author tianquan.ld
 * @version V1.0
 * <p>Description: çæ§éç½®æå¡æ¥å£</p>
 * @date 2019-10-29 21:13
 */
public interface MonitorConfigService {
    /**
     * æ¥è¯¢ææéç½®
     *
     * @return
     */
    List<MonitorConfigDTO> getAllConfig();

    /**
     * æ¥è¯¢çæ§è®°å½æ°æ®
     *
     * @param query æ¥è¯¢æ¡ä»¶
     * @return çæ§éç½®æ°æ®åé¡µç»æé
     */
    PageResult queryMonitorConfig(MonitorConfigQuery query);

    int addMonitorConfig(MonitorConfigDTO dto);

    int deleteMonitorConfig(Long id, String empId);
}